public class Session {
    private String id;
    private Movie movie;
    private Hall hall;
    private String time;
    private double price;
    private boolean[][] seats; // true=已售，false=空

    public Session(String id, Movie movie, Hall hall, String time, double price) {
        this.id = id;
        this.movie = movie;
        this.hall = hall;
        this.time = time;
        this.price = price;
        this.seats = new boolean[hall.getRows()][hall.getCols()];
    }

    public String getId() { return id; }
    public Movie getMovie() { return movie; }
    public Hall getHall() { return hall; }
    public String getTime() { return time; }
    public double getPrice() { return price; }
    public boolean[][] getSeats() { return seats; }
}